from django.urls import path

from . import views

app_name = "tutorial"
urlpatterns = [
    path('test/', views.testView, name='test'),
    path('t2/', views.t2View, name='t2'),
    # path('upload/', views.upload_file, name='upload'),
    # path('test/', views.testView, name='test'),
    # path('login/', auth_views.LoginView.as_view(template_name='login.html'), name='login'),
    # path('logout/', auth_views.LogoutView.as_view(template_name='login.html'), name='logout'),
    path("", views.foundationView, name="foundation"),
    path("tma/", views.tmaView, name="tma"),
    path("tma-demo/", views.tmaDemoView, name="tma_demo"),
    path("broadband/", views.broadbandView, name="broadband"),
    path("torpeto-setup/", views.torpedoSetupView, name="torpeto_setup"),
    path("spd-noise/", views.spdNoiseView, name="spd_noise"),
    path("multi-players/", views.multiPlayersView, name="multi_players"),
    path("subroc-setting/", views.subrocView, name="subroc_setting"),
    path("shkval-setting/", views.shkvalView, name="shkval_setting"),
    path("cm-setting/", views.cmView, name="cm_setting"),
    path("decoy-setting/", views.decoyView, name="decoy_setting"),
    path("uuv-setup/", views.uuvSetupView, name="uuv_setup"),
    path("ra-install/", views.installationView, name="ra_install"),
    path("buoy/", views.buoyView, name="buoy"),
    path("tma-caculate/", views.tmaCaculateView, name="tma_caculate"),
    path("tma-track-data/",
         views.TmaTrackData.as_view(),
         name="tma_track_data"),
    path("tma-image-upload/", views.tmaImageProcess, name="tma_image_upload"),
    path("tma-process/", views.tmaPredict, name="tma_process"),
]
